class CreateTableOccasionUserReadings < ActiveRecord::Migration
  def self.up

    create_table "occasion_user_readings" do |t|
      t.integer  "user_id",                           :null => false
      t.integer  "occasion_board_entry_id",                    :null => false
      t.boolean  "read",           :default => false, :null => false
      t.datetime "checked_on"
    end

    add_index "occasion_user_readings", ["user_id"], :name => "index_user_readings_on_user_id"
    add_index "occasion_user_readings", ["occasion_board_entry_id"], :name => "index_user_readings_on_occasion_board_entry_id"

  end

  def self.down
  end
end
